package com.axdoc.wallet.entity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 患者余额子账户流水
 * 
 * @author sunzhaoli
 *
 */
public class PatientBalanceSubWalletRecords implements Serializable {

	private static final long serialVersionUID = -6256529769795719255L;
	/**
	 * 主键
	 */
	private int id;
	/**
	 * 关联账户编号
	 */
	private String walletNo;
	/**
	 * 平台支付订单号
	 */
	private String tradeNo;
	/**
	 * 微信支付流水号
	 */
	private String trxNo;
	/**
	 * 业务订单号
	 */
	private String bizNo;
	/**
	 * 变动金额
	 */
	private int changeAmount;
	/**
	 * 变动方向：0加/1减
	 */
	private int changeDirection;
	/**
	 * 1001/1002/1003/1004/1005/1006/1007/1008
	 */
	private String trxCode;
	/**
	 * 充值/付款/退款/提现/作废/风控/冻结/解冻
	 */
	private String trxDesc;
	/**
	 * 业务code 00/01/……13
	 */
	private String bizCode;
	/**
	 * 业务描述 打赏/讲堂/问答
	 */
	private String bizDesc;
	/**
	 * 用户id
	 */
	private String uid;
	/**
	 * 渠道id
	 */
	private String channelId;
	/**
	 * 创建时间
	 */
	private Timestamp createTime;
	/**
	 * 修改时间
	 */
	private Timestamp updateTime;
	/**
	 * 账号id
	 */
	private String aid;
	/**
	 * 入账时间
	 */
	private Timestamp recordedTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getWalletNo() {
		return walletNo;
	}

	public void setWalletNo(String walletNo) {
		this.walletNo = walletNo;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getTrxNo() {
		return trxNo;
	}

	public void setTrxNo(String trxNo) {
		this.trxNo = trxNo;
	}

	public String getBizNo() {
		return bizNo;
	}

	public void setBizNo(String bizNo) {
		this.bizNo = bizNo;
	}

	public int getChangeAmount() {
		return changeAmount;
	}

	public void setChangeAmount(int changeAmount) {
		this.changeAmount = changeAmount;
	}

	public int getChangeDirection() {
		return changeDirection;
	}

	public void setChangeDirection(int changeDirection) {
		this.changeDirection = changeDirection;
	}

	public String getTrxCode() {
		return trxCode;
	}

	public void setTrxCode(String trxCode) {
		this.trxCode = trxCode;
	}

	public String getTrxDesc() {
		return trxDesc;
	}

	public void setTrxDesc(String trxDesc) {
		this.trxDesc = trxDesc;
	}

	public String getBizCode() {
		return bizCode;
	}

	public void setBizCode(String bizCode) {
		this.bizCode = bizCode;
	}

	public String getBizDesc() {
		return bizDesc;
	}

	public void setBizDesc(String bizDesc) {
		this.bizDesc = bizDesc;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getAid() {
		return aid;
	}

	public void setAid(String aid) {
		this.aid = aid;
	}

	public Timestamp getRecordedTime() {
		return recordedTime;
	}

	public void setRecordedTime(Timestamp recordedTime) {
		this.recordedTime = recordedTime;
	}
	
}
